package com.qf.service;

import com.github.pagehelper.PageInfo;
import com.qf.entity.Answers;

import java.util.List;

/**
 * @author Administrator
 * @version V1.0
 * @Project spring_AQ
 * @Package com.qf.service
 * @Description: ${TODO}
 * @Date 2021/10/3 23:25
 */
public interface AnswerService {

    void insert(Answers answer);

    List<Answers> findByQuestionId(Integer id);

    PageInfo<Answers> findByQuestionIdAndPage(Integer pageNum,Integer pageSize,Integer qId);
}
